package com.cytech.cloudclinic.adapter;

import android.widget.TextView;

import androidx.core.content.ContextCompat;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.viewholder.BaseViewHolder;
import com.cytech.cloudclinic.R;
import com.cytech.cloudclinic.bean.Acupoint;

import java.util.List;

/**
 * 已选择穴位分类标签
 */
public class PrescriptionAcupointSelectAdapter extends BaseQuickAdapter<Acupoint, BaseViewHolder> {

    public PrescriptionAcupointSelectAdapter(List<Acupoint> data) {
        super(R.layout.item_acupoint_selete, data);
    }

    @Override
    protected void convert(BaseViewHolder baseViewHolder, Acupoint drugTag) {
        TextView tv = baseViewHolder.getView(R.id.item_action_menu_name);
        baseViewHolder.setText(R.id.item_action_menu_name,drugTag.acupoint_name);
    }


}
